package mammuthus.template

import mammuthus.protocal.WriteFileTaskResponse
import net.csdn.ServiceFramwork

/**
 * 5/3/15 WilliamZhu(allwefantasy@gmail.com)
 */
trait TemplateProcessor {
  def process(fileName: String, targetFilePath: String, params: Map[String, AnyRef]): List[WriteFileTaskResponse]
  def findService[T](clzz:Class[T]):T = {
    ServiceFramwork.injector.getInstance(clzz)
  }
}
